import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import "./assets/fonts/iconfont.css";
import "./assets/fonts1/iconfont.css";
import "./assets/fonts2/iconfont.css";
import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";
/*自定义ui组件 */
import WJUI from "./components";
/*自定义全局样式——input校验提示 */
import "./assets/css/reset.css";
/*自定义指令-(input校验、局部loading、按钮提交) */
import "./assets/js/directive.js";
Vue.use(WJUI);

/*自定义全局loading组件 */
import Loading from "@/components/loading/index.js";
Vue.use(Loading);

/*自定义message消息提示框  挂载到vue原型对象上 */
import Msg from "@/components/message/index.js";
Vue.prototype.$msg = Msg

// 引入echarts
import * as echarts from 'echarts'
Vue.prototype.$echarts = echarts

// Vue.prototype.$store = store

Vue.use(ElementUI);


Vue.config.productionTip = false;

new Vue({
	router,
	store,
	render: (h) => h(App),
}).$mount("#app");
